package com.example.weather.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.weather.entity.User;
import com.example.weather.pojo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-02-06
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<UserVo> selectAllUser();

    void insertBatch(List<User> collect);
}
